import random

total_money = 10000  # 总金额
employee_count = 20  # 员工数量
per_money = 1000  # 每个人可领取1000元

for no in range(1, 21):
    score = random.randint(1, 10)
    if score < 5:
        print(F'员工{no}，绩效分{score}，低于5，不发工资，下一位')
        continue
    if total_money < per_money:
        print('工资发完了，下个月再说吧')
        break

    total_money -= per_money
    print(F'💴向员工{no}发放工资{per_money}元，账户余额：{total_money}元')
